Renamed Arc::try_unique to get_mut#24053
Merged
bors merged 2 commits intorust-lang:masterfrom Apr 5, 2015
Merged
Conversation
Contributor
|
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
Contributor
Author
|
Hmm, the doc check gives me these errors, which I don't know how to fix: ---- arc::get_mut_0 stdout ----
<anon>:6:22: 6:27 error: unresolved import `alloc::arc::Arc`. Did you mean `self::alloc::arc`?
<anon>:6 use alloc::arc::{Arc, get_mut};
^~~~~
<anon>:6:27: 6:32 error: unresolved import `alloc::arc::get_mut`. Did you mean `self::alloc::arc`?
<anon>:6 use alloc::arc::{Arc, get_mut};
^~~~~ |
src/liballoc/arc.rs
Outdated
Member
There was a problem hiding this comment.
I think you'll want to leave this fn main wrapper as otherwise the extern crate alloc is injected into the wrong scope.
Contributor
Author
There was a problem hiding this comment.
Ok, that explains it ;)
f9a4d31 to
ec8faf2
Compare
Contributor
Author
|
@alexcrichton Please have another look. |
Member
Collaborator
|
⌛ Testing commit bc1aef3 with merge 6d78aa6... |
Collaborator
|
💔 Test failed - auto-mac-64-nopt-t |
Member
Might be an intermittent? |
Contributor
Author
|
This error seems unrelated |
Member
|
@bors: retry |
Member
|
(If it passes this time around, we should file it as an intermittent) |
Collaborator
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As requested by @kballard in #23844